import i18n from '@/i18n'
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'

export class MetaResourceChartExample {
  static ApiPropertyEnum = {}

  @ApiProperty({ description: 'ID', type: Number })
  id: number

  @ApiProperty({ description: i18n.t('app-meta.model.meta-resource-chart-example.1215088-0'), type: String })
  label: string

  @ApiProperty({ description: i18n.t('app-meta.model.meta-resource-chart-example.1215088-1'), type: String })
  groupLabel: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-resource-chart-example.1215088-2'), type: String })
  thumbnail?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-resource-chart-example.1215088-3'), type: String })
  content?: string

  @ApiProperty({ description: i18n.t('app-meta.model.meta-resource-chart-example.1215088-4'), type: Date })
  createTime: Date

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-resource-chart-example.1215088-5'), type: Number })
  sortNo?: number
}
